package cn.iocoder.an.module.business.controller.admin.reportconfig.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 报表配置 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ReportConfigRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "12591")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "父表id", requiredMode = Schema.RequiredMode.REQUIRED, example = "4507")
    @ExcelProperty("父表id")
    private Long reportId;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "目标值")
    @ExcelProperty("目标值")
    private BigDecimal targetValue;

    @Schema(description = "负责人", example = "19916")
    @ExcelProperty("负责人")
    private List<Long> dutyUserId;

    @Schema(description = "负责人", example = "赵六")
    @ExcelProperty("负责人")
    private String dutyUserName;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    private String targetFunction;

}